package movement;

import jgame.JGObject;

public class StationaryObjectBounce implements MoveModel {

	private static MoveModel instance = new StationaryObjectBounce(); 
	
	private StationaryObjectBounce(){}
	
	// This is all very basic now, sure there'll be more funsies with it later.
	
	public void move(JGObject obj){
		obj.xspeed = -obj.xspeed;
		obj.yspeed = -obj.yspeed;	
	}
	
	public static MoveModel getInstance(){
		return instance;
	}
	
}
